%gemcolor = (
	0 => "Red",
	1 => "Blue",
	2 => "Yellow",
	3 => "RedBlue",		#purple
	4 => "YellowBlue",	#green
	5 => "RedYellow",	#orange
	6 => "Meta",
	8 => "RedBlueYellow",
);

%socketcolor = (
	1 => "Meta",
	2 => "Red", 
	4 => "Yellow",
	8 => "Blue",
	14 => "e",		#also primatic? (used in e.g. 56350)
	16 => "e",		#workaround for prismatic sockets: "e" matches "Red", "Yellow" and "Blue"
);

$socketboni = {
	2770 => {id => 2770, splpwr => 7},
	2865 => {id => 2865, spi => 4},
	2873 => {id => 2873, hitrtng => 4},
	2890 => {id => 2890, spi => 4},
	3198 => {id => 3198, splpwr => 5},
	3308 => {id => 3308, hastertng => 4},
	3309 => {id => 3309, hastertng => 6},
	3311 => {id => 3311, spi => 6},
	3353 => {id => 3353, int => 8},
	3596 => {id => 3596, splpwr => 5},
	3602 => {id => 3602, splpwr => 7},
	3752 => {id => 3752, splpwr => 5},
	3753 => {id => 3753, splpwr => 9},
	4123 => {id => 4123, mastrtng => 10},
	4129 => {id => 4129, spi => 20},
	4131 => {id => 4131, critstrkrtng => 10},
	4132 => {id => 4132, critstrkrtng => 30},
	4142 => {id => 4142, spi => 10},
	4143 => {id => 4143, int => 10},
	4144 => {id => 4144, int => 20},
	4149 => {id => 4149, int => 20},
	4150 => {id => 4150, int => 30},
	4151 => {id => 4151, critstrkrtng => 10},
	4152 => {id => 4152, critstrkrtng => 20},
	4160 => {id => 4160, hitrtng => 10},
};

$gemids = {
	1383 => { id => 1383, gcolor => 6, int => 21 },
	1436 => { id => 1436, gcolor => 6, int => 21 },
	1653 => { id => 1653, gcolor => 0, int => 30 },
	1656 => { id => 1656, gcolor => 1, spi => 30 },
	1662 => { id => 1662, gcolor => 2, hastertng => 30 },
	1663 => { id => 1663, gcolor => 2, mastrtng => 30 },
	1686 => { id => 1686, gcolor => 5, int => 15, mastrtng => 15 },
	1709 => { id => 1709, gcolor => 5, int => 18, mastrtng => 17 },
	1733 => { id => 1733, gcolor => 2, hastertng => 35 },
	1742 => { id => 1742, gcolor => 0, int => 35 },
	1750 => { id => 1750, gcolor => 0, int => 40 },
	1751 => { id => 1751, gcolor => 5, int => 20, hastertng => 20 },
	1760 => { id => 1760, gcolor => 3, int => 20, hitrtng => 20 },
	1768 => { id => 1768, gcolor => 4, hastertng => 20, hitrtng => 20 },
	1775 => { id => 1775, gcolor => 2, hastertng => 40 },
	1778 => { id => 1778, gcolor => 1, hitrtng => 40 },
	1779 => { id => 1779, gcolor => 3, int => 20, spi => 20 },
	1787 => { id => 1787, gcolor => 1, spi => 40 },
	1796 => { id => 1796, gcolor => 0, int => 67 },
	1807 => { id => 1807, gcolor => 2, hastertng => 67 },
	1810 => { id => 1810, gcolor => 6, critstrkrtng => 54 },
	1815 => { id => 1815, gcolor => 6, int => 54 },
	1816 => { id => 1816, gcolor => 6, spi => 54 },
	1826 => { id => 1826, gcolor => 8, hastertng => 208 },
	1831 => { id => 1831, gcolor => 8, spi => 208 },
};
